std::forward_list::reverse

From Cppreference

Jump to: navigation, search
void reverse();
(C++0x feature)

Reverses the order of the elements in the container. No references or iterators become invalidated.

Contents

Parameters

(none)

Return value

(none)

Example

Complexity

linear in the size of the container

See also

sort
sorts the elements
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages